<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title></title>
</head>
<body>

 <object id="gpac" width="600" height="200" CLASSID="clsid:181D18E6-4DC1-4B55-B72E-BE2A10064995">
  <param name="src" value="bifs/bifs-2D-painting-material2D.bt" />
  <param name="use3d" value="false" />
Your browser doesn't support GPAC ...
 </object>

<br/>

<input onclick="gpac.Update('bt', 'REPLACE M.emissiveColor BY 1 0 0');" value="red" type="button" />
<input onclick="gpac.Update('bt', 'REPLACE M.emissiveColor BY 0 1 0');" value="green" type="button" />
<input onclick="gpac.Update('bt', 'REPLACE M.emissiveColor BY 0 0 1');" value="blue" type="button" />

<br/>

<input onclick="gpac.Update('application/x-bt', 'REPLACE M.transparency BY 0');" value="opaque" type="button" />
<input onclick="gpac.Update('application/x-bt', 'REPLACE M.transparency BY 0.5');" value="semi-transparent" type="button" />
<input onclick="gpac.Update('application/x-bt', 'REPLACE M.transparency BY 1');" value="hidden" type="button" />

<br/>

<input onclick="gpac.Update('application/x-bt', 'REPLACE REC.size BY 50 100');" value="vert" type="button" />
<input onclick="gpac.Update('application/x-bt', 'REPLACE REC.size BY 150 100');" value="normal" type="button" />
<input onclick="gpac.Update('application/x-bt', 'REPLACE REC.size BY 100 50');" value="horiz" type="button" />
 
</body>
</html>
